package com.gec.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.dto.OrderQuery;
import com.gec.dto.OrdersDto;
import com.gec.entity.Orders;

/**
 * <p>
 *
 * </p>
 *
 * @author : [chenxys]
 * @version : [v1.0]
 * @createTime : [2022/7/14 18:21]
 */
public interface OrderService extends IService<Orders> {
    Page<OrdersDto> pageWithOrders(Page<Orders> ordersPage, OrderQuery orderQuery);

    void submit(Orders orders);

    Page<OrdersDto> getUserPage(Long page, Long pageSize);

    void updateStatus(Orders orders);
}
